package com.bianmaba.oauth2.controller.order;

import com.bianmaba.oauth2.bean.entity.Order;
import com.bianmaba.oauth2.service.order.IOrderService;
import com.bianmaba.spring.supports.mvc.controller.CrudController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "order")
public class OrderController extends CrudController<Order, String> {
    @Autowired
    private IOrderService service;

    @Override
    protected IOrderService getService() {
        return service;
    }
}
